package com.labManage.service;

import com.labManage.entity.Role;

import java.util.List;

public interface RoleService {
    List<Role> getAllRoleLimit(Integer page, Integer limit,Role condition);

    int modifyRoleInfoById(Role role,List<Long> permitionIdsList);

    List<Role> getAllRole();

    List<Role> getAllRoleByUserId(Long userId);

    int addRoleInfo(Role role, List<Long> permitionIdsList);

    int deleteRoleInfo(Long roleId);
}
